package com.nullpointer.Login;

public class SingleTon {
	private static SingleTon instance;
	private static String s1="";
	private static String s2="";
	SingleTon() {
	}
	public static synchronized SingleTon getInstance(){
		  if (instance == null)
		  {
		  instance = new SingleTon();
		  }
		  return instance;
		  }
	public String gets1(){
		return s1;
		
	}
	public static void sets1(String str1){
		s1=str1;
	}
	public String gets2(){
		return s2;
		
	}
	public static void sets2(String str2){
		s2=str2;
	}

}
